package com.ncucoder.demo.model;


import java.sql.Timestamp;

/**
 * Customer model
 *
 * @author <a href="https://edit.ncucoder.com">hsowan</a>
 * @since 2018-12-23 03:20
 */
public class Customer {
    private Long id;
    private Timestamp createTime;
    private String username;
    private String password;
    private Integer age;

    public Customer() {
    }

    public Customer(String username, String password, Integer age) {
        this.username = username;
        this.password = password;
        this.age = age;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", createTime=" + createTime +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", age=" + age +
                '}';
    }
}
